<?php 
	global $router;
	function ActiveMenu($id) {
		$router = new Router();
		echo ($router->id == $id ? "-active" : "");
	}
?>

<li class="product-1-i<?php ActiveMenu("8c"); ?>"><a href="<?php echo $router->lang; ?>/game/8c"><span></span></a></li>
<li class="product-2-i<?php ActiveMenu("8q"); ?>"><a href="<?php echo $router->lang; ?>/game/8q"><span></span></a></li>
<li class="product-3-i<?php ActiveMenu("theatre"); ?>"><a href="<?php echo $router->lang; ?>/game/theatre"><span></span></a></li>